/**
 * Created by 小敏哥on 2017/3/15.
 */
import apiHelper from './apiHelper';

class CalculatorService{
    calculateInspection(data){
        let requestParam = {
            url: 'http://192.168.4.19:3000/inspection/calc',
            data: {
                method: 'post',
                body: data
            }
        };
        return apiHelper.fetch(requestParam);
    }
}

export default new CalculatorService();